package com.example.community.service;

import com.example.community.DTO.addComment;
import com.example.community.entity.comment;
import org.springframework.stereotype.Service;

import java.util.List;

public interface commentService {
    List<comment> queryOneByArticleId(String article_id);

    String addOne(addComment addComment);

    int deleteOne(String id);

    int deleteArticleAllComment(String articleId);
}
